import request from '@/utils/request'

// 查询学生-岗位-评分列表
export function listPost_task(query) {
  return request({
    url: '/cms/post_task/list',
    method: 'get',
    params: query
  })
}

// 查询学生-岗位-评分详细
export function getPost_task(id) {
  return request({
    url: '/cms/post_task/' + id,
    method: 'get'
  })
}

// 新增学生-岗位-评分
export function addPost_task(data) {
  return request({
    url: '/cms/post_task',
    method: 'post',
    data: data
  })
}

// 修改学生-岗位-评分
export function updatePost_task(data) {
  return request({
    url: '/cms/post_task',
    method: 'put',
    data: data
  })
}

// 删除学生-岗位-评分
export function delPost_task(id) {
  return request({
    url: '/cms/post_task/' + id,
    method: 'delete'
  })
}
